﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SX.BaseService.Repository.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("SysOrganize")]
    public partial class SysOrganizeEntity
    {
           public SysOrganizeEntity(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Id {get;set;}

           /// <summary>
           /// Desc:上级部门id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ParentId {get;set;}

           /// <summary>
           /// Desc:名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:排序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Sort {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}


        [SugarColumn(IsIgnore =true)]
        public string ParentName { get; set; }

    }
}
